package model;

import java.util.Date;

public class Employee {
	private int id;
	private String lastName;
	private String firstName;
	private Date birthday;
	private String sex;
	private String ident;
	private String address;
	private String phone;
	private Date dateBegin;
	private String regency;

	public Employee(int id, String lastName, String firstName, Date birthday,
			String sex, String ident, String address, String phone,
			Date dateBegin, String regency) {
		this.id = id;
		this.lastName = lastName;
		this.firstName = firstName;
		this.birthday = birthday;
		this.sex = sex;
		this.ident = ident;
		this.address = address;
		this.phone = phone;
		this.dateBegin = dateBegin;
		this.regency = regency;
	}

	public Employee() {
	}

	public int getId() {
		return id;
	}

	public void setId(int id) {
		this.id = id;
	}

	public String getLastName() {
		return lastName;
	}

	public void setLastName(String lastName) {
		this.lastName = lastName;
	}

	public String getFirstName() {
		return firstName;
	}

	public void setFirstName(String name) {
		this.firstName = name;
	}

	public Date getBirthday() {
		return birthday;
	}

	public void setBirthday(Date birthday) {
		this.birthday = birthday;
	}

	public String getSex() {
		return sex;
	}

	public void setSex(String sex) {
		this.sex = sex;
	}

	public String getIdent() {
		return ident;
	}

	public void setIdent(String ident) {
		this.ident = ident;
	}

	public String getAddress() {
		return address;
	}

	public void setAddress(String address) {
		this.address = address;
	}

	public String getPhone() {
		return phone;
	}

	public void setPhone(String phone) {
		this.phone = phone;
	}

	public Date getDateBegin() {
		return dateBegin;
	}

	public void setDateBegin(Date dateBegin) {
		this.dateBegin = dateBegin;
	}

	public String getRegency() {
		return regency;
	}

	public void setRegency(String regency) {
		this.regency = regency;
	}

	@Override
	public String toString() {
		return this.firstName + " " + this.lastName + " - ID:" + this.id;
	}

}
